package com.luckku.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.luckku.boot.model.entity.Goods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author luckku
 * @date 2021/8/14
 */

@Repository
public interface GoodsMapper extends BaseMapper<Goods> {

    List<Goods> getGoodsListTop();
    List<Goods> getGoodsListBottom();

    Goods getSeckillGoods(String goodsId);
}
